package cn.px.common.constant;

/**
 * @Description redis常量
 * @author 品讯科技
 * @date 2024-08
 * @Version Copyright (c) 2019,北京乾元坤和科技有限公司 All rights reserved.
 */
public class RedisKeyConstants {
    /**
     * 微信
     */
    public static final String WECHAT = "wechat";

    /**
     * 微信 access_token
     */
    public static final String WECHAT_ACCESS_TOKEN = "access_token";

    /**
     * 微信 ticket_token
     */
    public static final String WECHAT_TICKET_TOKEN = "ticket_token";

    /**
     * 华为短信：一个手机号的数量不能超过5条
     */
    public static final String HW_SMS = "HW_SMS";
    /**
     * 过期监控业务分隔符
     */
    public static final String EXPIRE_BUSINESS_SEP = "-";
    /**
     * 过期监控业务前缀-报修业务逻辑前缀
     */
    public static final String EXPIRE_BUSINESS_KEY_REPAIR= "business_repair";
    /**
     * 过期监控业务前缀-报修过期监听-第一阶段-推送给第二维修人
     */
    public static final String EXPIRE_BUSINESS_KEY_REPAIR_PREFIX = EXPIRE_BUSINESS_KEY_REPAIR + "_receive";
    /**
     * 过期监控业务前缀-报修过期监听-第一阶段-推送给第二维修人
     */
    public static final String EXPIRE_BUSINESS_KEY_REPAIR_STEP_FIRST = EXPIRE_BUSINESS_KEY_REPAIR_PREFIX + "_first";
    /**
     * 过期监控业务前缀-报修过期监听-第二阶段-推送给牛
     */
    public static final String EXPIRE_BUSINESS_KEY_REPAIR_STEP_SECOND = EXPIRE_BUSINESS_KEY_REPAIR_PREFIX + "_second";

    /**
     * 过期监控业务前缀-报修过期监听-第二阶段-推送给牛
     */
    public static final String EXPIRE_BUSINESS_KEY_REPAIR_OVERTIME_PREFIX = EXPIRE_BUSINESS_KEY_REPAIR + "_overtime";
    /**
     * 过期超时监控业务前缀-报修过期监听-超过3个小时没修好，升级给牛工
     */
    public static final String EXPIRE_BUSINESS_KEY_REPAIR_OVERTIME_STEP_FIRST = EXPIRE_BUSINESS_KEY_REPAIR_OVERTIME_PREFIX + "_first";
    /**
     * 过期超时监控业务前缀-报修过期监听-超过8个小时没修好，升级给相工
     */
    public static final String EXPIRE_BUSINESS_KEY_REPAIR_OVERTIME_STEP_SECOND = EXPIRE_BUSINESS_KEY_REPAIR_OVERTIME_PREFIX + "_second";
    /**
     * 过期超时监控业务前缀-报修过期监听-超过24 没修好，升级给田总
     */
    public static final String EXPIRE_BUSINESS_KEY_REPAIR_OVERTIME_STEP_THIRD = EXPIRE_BUSINESS_KEY_REPAIR_OVERTIME_PREFIX + "_third";

}
